package com.fxb.project.design.bridge;

public class Shape {
    private Drawing _dp;

    Shape(Drawing dp){
        _dp = dp;
    }

    public void drawLine(double x1,double y1,double x2,double y2){
        _dp.draw_a_line(x1,y1,x2,y2);
    }

    public void drawCircle(double x1,double y1,double r){
        _dp.draw_a_circle(x1,y1,r);
    }
}
